package com.sakura.util.thread.forkjoinpool;/**
 * Created by apple on 2019/8/6.
 */

/**
 * @author jixd
 * @Description
 * @Date 2019/8/6 9:14 AM
 * @Version 1.0
 **/
public class ForLoopCalculator implements Calculator {
    public long sumUp(long[] numbers) {
        long total = 0;
        for (long i : numbers) {
            total += i;
        }
        return total;
    }
}
